﻿Imports System.ComponentModel
Imports IIC.Forms.List

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class ucPeriodClassList
    Inherits System.Windows.Forms.UserControl

#Region "Designer"
    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub
    Friend StudentCount As DataGridViewLinkColumn
    Friend WithEvents ClassId As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents PeriodId As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents PeriodCode As org.codegen.win.controls.DataGridViewAutoFilterTextBoxColumn
    Friend WithEvents LessonCode As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents LessonId As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents CenterName As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents ExamDate As org.codegen.win.controls.DataGridViewCalendarColumn
    Friend WithEvents ExamDateFrom As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents ExamDateTo As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents gcStudentCount As System.Windows.Forms.DataGridViewLinkColumn
    Friend WithEvents PassGrade As System.Windows.Forms.DataGridViewTextBoxColumn

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Me.grdPeriodClass = New org.codegen.win.controls.Grid.CGSQLGrid()
        Me.ClassId = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.PeriodId = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.PeriodCode = New org.codegen.win.controls.DataGridViewAutoFilterTextBoxColumn()
        Me.LessonCode = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.LessonId = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.CenterName = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.ExamDate = New org.codegen.win.controls.DataGridViewCalendarColumn()
        Me.ExamDateFrom = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.ExamDateTo = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.gcStudentCount = New System.Windows.Forms.DataGridViewLinkColumn()
        Me.PassGrade = New System.Windows.Forms.DataGridViewTextBoxColumn()
        CType(Me.grdPeriodClass, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'grdPeriodClass
        '
        Me.grdPeriodClass.AllowUserToAddRows = False
        Me.grdPeriodClass.AllowUserToDeleteRows = False
        Me.grdPeriodClass.AllowUserToOrderColumns = True
        Me.grdPeriodClass.AllowUserToResizeRows = False
        DataGridViewCellStyle1.BackColor = System.Drawing.Color.AntiqueWhite
        Me.grdPeriodClass.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
        Me.grdPeriodClass.BackgroundColor = System.Drawing.SystemColors.Window
        Me.grdPeriodClass.BindingSource = Nothing
        Me.grdPeriodClass.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleHorizontal
        Me.grdPeriodClass.ColumnIndexToHide = 0
        Me.grdPeriodClass.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.ClassId, Me.PeriodId, Me.PeriodCode, Me.LessonCode, Me.LessonId, Me.CenterName, Me.ExamDate, Me.ExamDateFrom, Me.ExamDateTo, Me.gcStudentCount, Me.PassGrade})
        Me.grdPeriodClass.DBMapper = Nothing
        Me.grdPeriodClass.Dock = System.Windows.Forms.DockStyle.Fill
        Me.grdPeriodClass.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically
        Me.grdPeriodClass.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.grdPeriodClass.gpEditForm = "Forms.Edit.frmPeriodClassDetails"
        Me.grdPeriodClass.gpKeyColumnName = "ClassId"
        Me.grdPeriodClass.gpSelectFields = "*"
        Me.grdPeriodClass.gpSelectFrom = "vClassList"
        Me.grdPeriodClass.gpSortColumn = "LessonId"
        Me.grdPeriodClass.gpSortDirection = System.ComponentModel.ListSortDirection.Ascending
        Me.grdPeriodClass.gpWhereclause = "    "
        Me.grdPeriodClass.GridColor = System.Drawing.SystemColors.Control
        Me.grdPeriodClass.GridColumnProvider = Nothing
        Me.grdPeriodClass.isLocalizable = False
        Me.grdPeriodClass.lastLoadedSQL = ""
        Me.grdPeriodClass.Location = New System.Drawing.Point(0, 0)
        Me.grdPeriodClass.Name = "grdPeriodClass"
        Me.grdPeriodClass.ReadOnly = True
        DataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Desktop
        DataGridViewCellStyle10.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        DataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText
        DataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight
        DataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText
        Me.grdPeriodClass.RowHeadersDefaultCellStyle = DataGridViewCellStyle10
        Me.grdPeriodClass.RowHeadersVisible = False
        Me.grdPeriodClass.RowTemplate.Height = 20
        Me.grdPeriodClass.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
        Me.grdPeriodClass.SelectSQLStatement = Nothing
        Me.grdPeriodClass.Size = New System.Drawing.Size(747, 373)
        Me.grdPeriodClass.TabIndex = 0
        '
        'ClassId
        '
        Me.ClassId.DataPropertyName = "ClassId"
        DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight
        Me.ClassId.DefaultCellStyle = DataGridViewCellStyle2
        Me.ClassId.HeaderText = "ClassId"
        Me.ClassId.Name = "ClassId"
        Me.ClassId.ReadOnly = True
        Me.ClassId.Visible = False
        Me.ClassId.Width = 40
        '
        'PeriodId
        '
        Me.PeriodId.DataPropertyName = "PeriodId"
        DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft
        Me.PeriodId.DefaultCellStyle = DataGridViewCellStyle3
        Me.PeriodId.HeaderText = "PeriodId"
        Me.PeriodId.Name = "PeriodId"
        Me.PeriodId.ReadOnly = True
        Me.PeriodId.Visible = False
        Me.PeriodId.Width = 200
        '
        'PeriodCode
        '
        Me.PeriodCode.DataPropertyName = "PeriodCode"
        Me.PeriodCode.HeaderText = "Period Code"
        Me.PeriodCode.Name = "PeriodCode"
        Me.PeriodCode.ReadOnly = True
        Me.PeriodCode.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic
        Me.PeriodCode.Width = 75
        '
        'LessonCode
        '
        Me.LessonCode.DataPropertyName = "LessonCode"
        Me.LessonCode.HeaderText = "Lesson Code"
        Me.LessonCode.Name = "LessonCode"
        Me.LessonCode.ReadOnly = True
        Me.LessonCode.Width = 75
        '
        'LessonId
        '
        Me.LessonId.DataPropertyName = "LessonDescription"
        DataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft
        Me.LessonId.DefaultCellStyle = DataGridViewCellStyle4
        Me.LessonId.HeaderText = "Lesson"
        Me.LessonId.Name = "LessonId"
        Me.LessonId.ReadOnly = True
        Me.LessonId.Width = 200
        '
        'CenterName
        '
        Me.CenterName.DataPropertyName = "CenterName"
        Me.CenterName.HeaderText = "Exam Center"
        Me.CenterName.Name = "CenterName"
        Me.CenterName.ReadOnly = True
        Me.CenterName.Width = 200
        '
        'ExamDate
        '
        Me.ExamDate.DataPropertyName = "ExamDate"
        Me.ExamDate.DefaultCellStyle = DataGridViewCellStyle5
        Me.ExamDate.HeaderText = "Exam Date"
        Me.ExamDate.Name = "ExamDate"
        Me.ExamDate.ReadOnly = True
        Me.ExamDate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic
        '
        'ExamDateFrom
        '
        Me.ExamDateFrom.DataPropertyName = "ExamTimeFrom"
        DataGridViewCellStyle6.Format = "HH:mm"
        Me.ExamDateFrom.DefaultCellStyle = DataGridViewCellStyle6
        Me.ExamDateFrom.HeaderText = "From"
        Me.ExamDateFrom.Name = "ExamDateFrom"
        Me.ExamDateFrom.ReadOnly = True
        Me.ExamDateFrom.Width = 50
        '
        'ExamDateTo
        '
        Me.ExamDateTo.DataPropertyName = "ExamTimeTo"
        DataGridViewCellStyle7.Format = "HH:mm"
        Me.ExamDateTo.DefaultCellStyle = DataGridViewCellStyle7
        Me.ExamDateTo.HeaderText = "To"
        Me.ExamDateTo.Name = "ExamDateTo"
        Me.ExamDateTo.ReadOnly = True
        Me.ExamDateTo.Width = 50
        '
        'gcStudentCount
        '
        Me.gcStudentCount.DataPropertyName = "StudentCount"
        DataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopCenter
        Me.gcStudentCount.DefaultCellStyle = DataGridViewCellStyle8
        Me.gcStudentCount.HeaderText = "Student Count"
        Me.gcStudentCount.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline
        Me.gcStudentCount.Name = "gcStudentCount"
        Me.gcStudentCount.ReadOnly = True
        Me.gcStudentCount.TrackVisitedState = False
        '
        'PassGrade
        '
        Me.PassGrade.DataPropertyName = "PassGrade"
        DataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft
        Me.PassGrade.DefaultCellStyle = DataGridViewCellStyle9
        Me.PassGrade.HeaderText = "Pass Grade"
        Me.PassGrade.Name = "PassGrade"
        Me.PassGrade.ReadOnly = True
        '
        'ucPeriodClassList
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.Controls.Add(Me.grdPeriodClass)
        Me.Name = "ucPeriodClassList"
        Me.Size = New System.Drawing.Size(747, 373)
        CType(Me.grdPeriodClass, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)

    End Sub

    Public WithEvents grdPeriodClass As org.codegen.win.controls.Grid.CGSQLGrid


#End Region

#Region "Standard Code"

    Public Property FromEmployeeScreen As Boolean

    ''' <summary>
    ''' On load of control, we set the event handler for delete
    ''' </summary>
    Private Sub ucListPeriodClass_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Me.setColumnDataSources()


    End Sub


    'use this method to assign datasources to columns that are combo boxes!
    Protected Sub setColumnDataSources()
        If Me.DesignMode Then Exit Sub



    End Sub


    

#End Region

End Class

